public class Judgement {
    int count=0;
    public  void judgeFormula(Boolean result,String ca){
        if(result){
            System.out.println("正确！");
            count++;
        }//判断用户计算结果是否正确
        else
            System.out.println("错误，正确答案"+ca);
    }
    public int getTrues(){//统计正确题数
        return count;
    }
}
